home *** CD-ROM | disk | FTP | other *** search
-
- ObjectFiles = \
- o.LoadFile \
- o.LoadFiles \
- o.MemSize \
- o.MemSizeIcn \
- o.02ScrSave \
- o.03ScrLoad \
- o.08ReadCont \
- o.09InitArea \
- o.10Load \
- o.11Merge \
- o.12Save \
- o.13GetName \
- o.15Create \
- o.16GetUser \
- o.24Select \
- o.25Delete \
- o.26Rename \
- o.27Copy \
- o.29CreateMa \
- o.30RemoveMa \
- o.31InsertRo \
- o.32DeleteRo \
- o.33FlipX \
- o.34PutUser \
- o.35Append \
- o.37CreatePa \
- o.37ReadPale \
- o.37RemovePa \
- o.40ReadInfo \
- o.41ReadPixe \
- o.42WritePix \
- o.43ReadMask \
- o.44WriteMas \
- o.45InsertCo \
- o.46DeleteCo \
- o.47FlipY \
- o.49PlotMask \
- o.50PlotMask \
- o.52PlotScal \
- o.53PlotGrey \
- o.60Redirect \
- o.62ReadSave \
- o.UnRedirect \
- o.WimpPlot \
-
-
- LibName = Sprite
-
-
-
- # Template makefile to make all .o files
- # for a DeskLib sublibrary. Compilation
- # is for static linking with client
- # applications (ie not cc -zM but
- # _DeskLib_SDLS_CLIENT is predefined).
-
- # The macro $(ObjectFiles) should be set at the
- # start of this file, to be a space-separated
- # list of object files.
- # This is done by 'Makatic'.
-
- # The macro $(LibName) should also be set at the
- # start of this file, to be the name of the
- # DeskLib sublibrary.
- #
-
- # Compiler flags, These can be anything.
- # All essential flags (eg CC -zM
- # are included in the macro $(CC).
- #
- CCFlags = -fahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_SDLS_CLIENT -D_DeskLib_$(LibName) -I,C:
- ASMFlags = -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
-
- CC = cc -c $(CCFlags)
- ASM = ObjAsm $(ASMFlags)
-
-
- # -------------------------------------------------------
- # Everything below here should probably not be changed...
- # -------------------------------------------------------
-
- # Here's what we want to make...
- #
- All: $(ObjectFiles)
-
-
- VPATH = @.^
-
- .SUFFIXES: .o .c .s
-
- .c.o:
- $(CC) -o $@ $<
-
- .s.o:
- $(ASM) $(ASMFlags) -from $< -to $@
-
-
-
- # Dynamic dependencies:
- o.LoadFile: ^.c.LoadFile
- o.LoadFile: DeskLib:h.Core
- o.LoadFile: DeskLib:h.File
- o.LoadFile: DeskLib:h.SWI
- o.LoadFile: DeskLib:h.Sprite
- o.LoadFile: DeskLib:h.Wimp
- o.LoadFile: DeskLib:h.Coord
- o.LoadFiles: ^.c.LoadFiles
- o.LoadFiles: DeskLib:h.Core
- o.LoadFiles: DeskLib:h.File
- o.LoadFiles: DeskLib:h.SWI
- o.LoadFiles: DeskLib:h.Sprite
- o.LoadFiles: DeskLib:h.Wimp
- o.LoadFiles: DeskLib:h.Coord
- o.MemSize: ^.c.MemSize
- o.MemSize: DeskLib:h.Sprite
- o.MemSize: DeskLib:h.Core
- o.MemSize: DeskLib:h.Wimp
- o.MemSize: DeskLib:h.Coord
- o.MemSize: DeskLib:h.SWI
- o.MemSizeIcn: ^.c.MemSizeIcn
- o.MemSizeIcn: DeskLib:h.Sprite
- o.MemSizeIcn: DeskLib:h.Core
- o.MemSizeIcn: DeskLib:h.Wimp
- o.MemSizeIcn: DeskLib:h.Coord
- o.MemSizeIcn: DeskLib:h.SWI
-